package com.sgb.kjwl.di.vehicleManagement;

import com.sgb.kjwl.view.ui.activity.vehicleManagement.VehicleDetailActivity;
import com.sgb.kjwl.viewmodel.transport.VehicleDetailModel;
import com.swgk.core.base.di.Activity;

import dagger.Module;
import dagger.Provides;

@Module
public class VehicleDetailModule {
    private VehicleDetailActivity activity;

    public VehicleDetailModule(VehicleDetailActivity activity) {
        this.activity = activity;
    }

    @Provides
    @Activity
    VehicleDetailModel provideVehicleDetailModel() {
        return new VehicleDetailModel(activity);
    }

}
